package com.bittech.httpd.core;

import com.bittech.httpd.common.Handler;
import com.bittech.httpd.common.HttpRequest;
import com.bittech.httpd.common.HttpResponse;
import com.bittech.httpd.common.HttpStatus;

/**
 * 处理器适配器
 * Author: secondriver
 * Created: 2018/9/5
 */
public class HandlerAdapter implements Handler {
    
    @Override
    public void doGet(HttpRequest request, HttpResponse response) {
        response.setHttpStatus(HttpStatus.NOT_IMPLEMENTED);
        response.flush();
    }
    
    @Override
    public void doPost(HttpRequest request, HttpResponse response) {
        response.setHttpStatus(HttpStatus.NOT_IMPLEMENTED);
        response.flush();
    }
}
